<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div class="box">
    <div class="range" id="stage">
      <!-- 蛇 -->
      <div class="snake" id="snake">
        <!-- 蛇头 -->
        <div class="s-list"></div>
        <!-- 蛇身子 -->
        <!-- <div class="s-list"></div>
        <div class="s-list"></div>
        <div class="s-list"></div>
        <div class="s-list"></div> -->
      </div>
      <!-- 食物 -->
      <div class="food" id="food">
        <!-- 4个div为了给食物设置样式 -->
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>

    </div>
    <!-- 计分器 -->
    <div class="others" id="scorePanel">
      <div>score: <span id="score">3</span></div>
      <div>level: <span id="level">1</span></div>
    </div>
  </div>
</body>

</html>